projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f46637
)
Fix make check
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 27 Oct 2015 17:26:50 +0000
(13:26 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 27 Oct 2015 17:27:43 +0000
(13:27 -0400)
Don't try setting GtkShortcutsShortcut::accelerator to a
random value, it only accepts strings that it can parse.
testsuite/gtk/notify.c
patch
|
blob
|
history
diff --git
a/testsuite/gtk/notify.c
b/testsuite/gtk/notify.c
index 505c066a04645d12a56e3538584d6175e737f6ee..6ef29f9300a96853125e026595dafdfa56f33227 100644
(file)
--- a/
testsuite/gtk/notify.c
+++ b/
testsuite/gtk/notify.c
@@
-661,6
+661,10
@@
test_type (gconstpointer data)
pspec->owner_type == GTK_TYPE_BUTTON)
continue;
+ if (g_type_is_a (type, GTK_TYPE_SHORTCUTS_SHORTCUT) &&
+ g_str_equal (pspec->name, "accelerator"))
+ continue;
+
if (g_test_verbose ())
g_print ("Property %s.%s\n", g_type_name (pspec->owner_type), pspec->name);